package com.toe.pojo.dto.order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class AddOrderGoodsDTO implements Serializable {

    @ApiModelProperty(value = "订单拥有者用户id", example = "1")
    private Long userId;

    @ApiModelProperty(value = "购买的商品id", example = "1")
    private Long goodsId;

    @ApiModelProperty(value = "规格id", example = "2")
    private Long specificationId;

    @ApiModelProperty(value = "购买数量", example = "2")
    private Integer number;

    @ApiModelProperty(value = "收货人", example = "王江")
    private String consignee;

    @ApiModelProperty(value = "收货人手机号码", example = "15697023725")
    private String consigneePhone;

    @ApiModelProperty(value = "收货地址", example = "云南昆明盘龙区")
    private String shippingAddress;

    @ApiModelProperty(value = "订单备注", example = "阿伟已经死了")
    private String note;

}
